feat(web-api): add agents.sessions.setStatus and agents.sessions.rename - #1942
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1942 +/- ##
==========================================
+ Coverage 84.15% 84.17% +0.02%
==========================================
Files 118 118
Lines 13446 13470 +24
==========================================
+ Hits 11315 11339 +24
Misses 2131 2131 ☔ View full report in Codecov by Harness. |
zimeg
force-pushed
the
clack/agents-sessions-methods
branch
from
August 18, 2026 06:05
5bb5f7a to
b6d4508
Compare
zimeg
force-pushed
the
clack/agents-sessions-methods
branch
5 times, most recently
from
August 19, 2026 22:16
8f67af3 to
1c5afec
Compare
This was referenced Aug 20, 2026
zimeg
added a commit
to slackapi/node-slack-sdk
that referenced
this pull request
Aug 20, 2026
Mirror the Python SDK (slackapi/python-slack-sdk#1942) for the two agents.sessions methods: - agents.sessions.rename Rename an agent session. - agents.sessions.setStatus Set an agent session's lifecycle status, creating the session if needed. Adds the client.agents.sessions.{rename,setStatus} bindings, the request argument types, and the response types. The response types are generated from the java-slack-sdk API sample logs via scripts/generate-web-api-types.sh; the samples land in slackapi/java-slack-sdk#1633, so the generator must be re-run against java-slack-sdk main once that ships to pick up the final response shape. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
force-pushed
the
clack/agents-sessions-methods
branch
from
August 20, 2026 17:19
1c5afec to
ecf3482
Compare
zimeg
marked this pull request as ready for review
August 21, 2026 21:23
zimeg
force-pushed
the
clack/agents-sessions-methods
branch
from
August 21, 2026 21:27
ecf3482 to
ea7f8e0
Compare
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
force-pushed
the
clack/agents-sessions-methods
branch
from
August 21, 2026 21:48
ea7f8e0 to
1e8707b
Compare
The all_api_methods list is ordered by family; agents.sessions.rename / setStatus were placed before assistant.* but belong before api.test (agents < api). Move them to the correct alphabetical position. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Member
Author
Self-review notes (author) — for a reviewer's contextSharing what I checked so a reviewer has the full picture. This is a self-review, not an approval. Correctness
Testing
Note
Docstrings link only to public |
zimeg
added a commit
to slackapi/node-slack-sdk
that referenced
this pull request
Aug 22, 2026
Mirror the Python SDK (slackapi/python-slack-sdk#1942) for the two agents.sessions methods: - agents.sessions.rename Rename an agent session. - agents.sessions.setStatus Set an agent session's lifecycle status, creating the session if needed. Adds the client.agents.sessions.{rename,setStatus} bindings, the request argument types, and the response types. The response types are generated from the java-slack-sdk API sample logs via scripts/generate-web-api-types.sh; the samples land in slackapi/java-slack-sdk#1633, so the generator must be re-run against java-slack-sdk main once that ships to pick up the final response shape. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
agents.sessions.*Web API methods (setStatus,rename) to the sync, async, and legacy web clients — the successors toassistant.threads.setStatus/setTitlefor the agent sessions model. Async + legacy generated viascripts/codegen.py.Documentation
agents.sessions.setStatus— set an agent session's lifecycle status, creating the session if needed.agents.sessions.rename— rename an agent session.